package com.power.using.myapplication.service;

import android.os.Looper;
import android.util.Log;

import com.power.using.servicelibrary.AbsHeartBeatService;


public class HeartBeatService extends AbsHeartBeatService {
    private static final String TAG = "Hashiqi";
    private static final android.os.Handler mainThreadHandler = new android.os.Handler(Looper.getMainLooper());

    @Override
    public void onStartService() {
        Log.d(TAG, "onStartService()");



    }

    @Override
    public void onStopService() {
        Log.e(TAG, "onStopService()");
    }

    @Override
    public long getDelayExecutedMillis() {
        return 0;
    }

    @Override
    public long getHeartBeatMillis() {
        return 3 * 1000;
    }

    @Override
    public void onHeartBeat() {
        Log.d(TAG, "onHeartBeat()");
    }
}
